package com.tywj.buscustomerapp.model.bean;

import com.google.gson.annotations.SerializedName;

public class WPayRequest {

    /**
     * reCode : 201
     * codeTxt : SUCCESS
     * data : {"package":"Sign=WXPay","appid":"wx91e0bd2897c70b37","sign":"6C5FD15C6FDC3041DE00572AA818286B","partnerId":"1508342181","prepayid":"wx27111413706581257aca919b0660398624","noncestr":"c1f59eb1f5674075ad18ce0937da8643","timestamp":"1530069252"}
     */

    private String reCode;
    private String codeTxt;
    private DataBean data;

    @Override
    public String toString() {
        return "WPayRequest{" +
                "reCode='" + reCode + '\'' +
                ", codeTxt='" + codeTxt + '\'' +
                ", data=" + data +
                '}';
    }

    public String getReCode() {
        return reCode;
    }

    public void setReCode(String reCode) {
        this.reCode = reCode;
    }

    public String getCodeTxt() {
        return codeTxt;
    }

    public void setCodeTxt(String codeTxt) {
        this.codeTxt = codeTxt;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * package : Sign=WXPay
         * appid : wx91e0bd2897c70b37
         * sign : 6C5FD15C6FDC3041DE00572AA818286B
         * partnerid : 1508342181
         * prepayid : wx27111413706581257aca919b0660398624
         * noncestr : c1f59eb1f5674075ad18ce0937da8643
         * timestamp : 1530069252
         */

        @SerializedName("package")
        private String packageX;
        private String appid;
        private String sign;
        private String partnerid;
        private String prepayid;
        private String noncestr;
        private String timestamp;

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getPartnerId() {
            return partnerid;
        }

        public void setPartnerId(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }
    }
}
